<template>
  <!-- .sync修饰符在vue3.0版本已弃用，应该使用v-model:xxx -->
  <MyDemo v-model:msg="msg" />
</template>

<script setup name="App">
import { ref } from 'vue'
import MyDemo from './components/MyDemo'

const msg = ref('hello')
</script>

<style>
</style>
